gdk: Coalesce 2 GdkWindow fields in GdkPointerWindowInfo struct
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 15 Sep 2017 17:39:18 +0000 (19:39 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 19 Sep 2017 16:40:51 +0000 (18:40 +0200)
commitf3b0a3780e60f7b89b4d1f633e1ffc9b2d6ef1fc
tree7041c12ef0978385d9e318dd0971d0f0d8b41540
parentc00567a64cf63c7211d2f0c8457901fee64cee4d
gdk: Coalesce 2 GdkWindow fields in GdkPointerWindowInfo struct

One used to point to the toplevel and the other to the client-side window
that the pointer pointed to. The latter was made to be like the former in
most places, so put those together, and fix the remaining cases where the
variable might not end up with a toplevel/native window.
gdk/gdkdisplay.c
gdk/gdkdisplayprivate.h
gdk/gdkwindow.c